Skip to content
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.

Use windowTitle instead of getModel in _cleaunup_panel #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MikeFalowski
Copy link

If someone tries to setModel on not exported or somehow broken device, getModel returns empty string and TaurusDevicePanels is broken, so after trying to close the widget, it cannot find and remove it. Then, after reopening (even with restarted device) the panel, it finds broken widget again and doesn't try to open the new one.

Name is also used for setting window title and in this case it's always the same.

If someone tries to setModel on not exported or somehow broken device, getModel returns empty string and TaurusDevicePanels is broken, so after trying to close the widget, it cannot find and remove it. Then, after reopening (even with restarted device) the panel, it finds broken widget again and doesn't try to open the new one.

`Name` is also used for setting window title and in this case it's always the same.
@13bscsaamjad
Copy link
Contributor

Hi, we will try to reproduce the problem after preparing a test set up and will then get back.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants